Scheduler for UWP | ComponentOne
Features / Appointments / Calling the Edit Appointment Dialog in Code
In This Topic
    Calling the Edit Appointment Dialog in Code
    In This Topic

    The code below is taken from the DefaultView sample and shows calling an Edit Appointment Dialog in code.

    When a user clicks the "Add" button in the application, the Edit Appointment Dialog appears:

    C#
    Copy Code
    private void Add_Click(object sender, RoutedEventArgs e)
    {
        sched1.NewAppointmentDialog();
    }
    

     You can find the full sample in the Schedule Samples in the ComponentOne Samples folder.